import url from "../axios/url";
import request from "../axios/request";

/**
 * 添加设计器
 *  {"shopNumber":"xxx","json":"xxx"}
 */

export function addDesigner(params) {
  return request.post(url.addDesigner, params);
}
/**
 * 编辑设计器
 */

export function editDesigner(params) {
  return request.post(url.editDesigner, params);
}
/**
 * 查看设计器
 * @param {*} shopNumber
 */
export function detailDesigner(shopNumber) {
  return request.get(url.detailDesigner + "/" + shopNumber);
}
